package com.foreveross.dao;

import java.util.List;

import com.foreveross.vo.HrFavorable;
import com.foreveross.vo.PayCostFavorableInfo;

public interface PayCostFavorableInfoDAO {
	
    public <T extends Object> void save(T entity) throws Exception;
	
	public <T> void remove(T entity) throws Exception;

	public Object findById(Class clazz,String id) throws Exception;
	
	public Object findByIntId(Class clazz,int id) throws Exception;
		
	public <T extends Object> T updateObject(T t) throws Exception;
	
	public List<PayCostFavorableInfo> findPayCostFavorableInfoList(
			String weixinId,String orderId,String userId,String houseId,String tenementId,String businessId,String hrFavorableId,
			String payType,String payStatus,String startOrderTime,String endOrderTime
			) throws Exception;


}
